package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 李旭
 * @date 2021/10/20 11:13
 * @Description:
 */
@FeignClient(name = "service-user")
public interface UserInfoFeignClient {

    //收货地址
    @GetMapping("/api/user/passport/getUserAddressList")
    public List<UserAddress> getUserAddressList();


}
